$(function() {
    $("#form").validate({
        rules : {
            "clistingid" : {
               required : true
            },
            "clistingcid" : {
               required : true
            },
            "clistinglistingplace" : {
               required : true
            },
            "clistingstockcode" : {
               required : true
            },
            "clistingstockname" : {
               required : true
            },
            "clistingtotalissued" : {
               required : true
            },
            "clistinglistingdate" : {
               required : true
            },
            "clistingstockstatus" : {
               required : true
            },
        },
    messages : {
        "clistingid" : {
            required : '请填写!'
        },
        "clistingcid" : {
            required : '请填写!'
        },
        "clistinglistingplace" : {
            required : '请填写上市地!'
        },
        "clistingstockcode" : {
            required : '请填写证卷代码!'
        },
        "clistingstockname" : {
            required : '请填写证卷名称!'
        },
        "clistingtotalissued" : {
            required : '请填写发行总量!'
        },
        "clistinglistingdate" : {
            required : '请填写上市日期!'
        },
        "clistingstockstatus" : {
            required : '请填写证卷状态!'
        },
       }
});
});
